package com.five.wisdomClass.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@TableName("teacher_info")
@AllArgsConstructor
@NoArgsConstructor
public class Teacher implements Serializable {

    // id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    // 教师编号
    @TableField(value = "teacher_number")
    private String teacherNumber;
    // 姓名
    @TableField(value = "teacher_name")
    private String teacherName;
    // 性别
    @TableField(value = "gender")
    private String gender;
    // 电话
    @TableField(value = "phone")
    private String phone;
    // 现居地
    @TableField(value = "hometown")
    private String hometown;
    // 籍贯
    @TableField(value = "nationality")
    private String nationality;
    // 政治面貌
    @TableField(value = "political_face")
    private String politicalFace;
    // 电子邮件
    private String email;
    // 出生日期
    @TableField(value = "birthday")
    private LocalDate birthday;
    // 家庭住址
    @TableField(value = "address")
    private String address;

    // 身份证号
    @TableField(value = "id_card_number")
    private String idCardNumber;
    // 面部信息
    @TableField(value = "face_photo")
    private String facePhoto;

}
